package com.cdut.beans;

import org.hibernate.criterion.Order;
import java.util.Set;
import java.util.HashSet;
public class Customer {
    private Integer id;
    private String name;
    private Set<Order>orders = new HashSet<Order>();
    public Integer getId(){
        return id;
    }
    public void setId(Integer id) {
        this.id = id;
    }
    public String getName(){
        return name;
    }
    public void setName(String name){
        this.name=name;
    }
    public Set<Order>getOrders(){
        return orders;
    }
    public void setOrders(Set<Order> orders) {
        this.orders = orders;
    }

}
